<?php
class Checkbox extends GroupedFormElement {
	
	public function __construct($elementId, $text) {
	
		parent::__construct($elementId, $text);
	}
	
	protected function createElement($elementId, $text) {
		
		return new CheckboxElement($elementId, $text);
	}
}
?>